package com.hins.demo.dto.data;

import com.hins.component.dto.DTO;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.math.BigDecimal;

/**
 * Description: 转账
 *
 * @author wenjiaqi
 * @date 2021/5/14 14:46
 */
@Data
public class TransferDTO extends DTO {
    /**
     * 目标账户
     */
    @NotEmpty
    private String targetAccountNumber;

    /**
     * 金额
     */
    @NotEmpty
    private BigDecimal amount;

    /**
     * 目标用户
     */
    @NotEmpty
    private Integer sourceUserId;

    /**
     * 货币（CNY,USD）
     */
    private String currency;
}
